package qq.panel.gui.simple;

/**
 * 数据包，记录客户端聊天界面的状态
 * 让客户端子程序监控并读取该状态包
 * 中的信息，可以知道在客户端进行了什么操作
 * @author ZHUAN4
 *
 */
public class BackPackageMain {

	private int statue;
	private String toName;
	private String message;
	private int type;  //1 send,2 mass,3 shake
	
	
	/**
	 * @param statue
	 * @param toName
	 * @param message
	 * @param type
	 */
	public BackPackageMain(int statue, String toName, String message, int type) {
		super();
		this.statue = statue;
		this.toName = toName;
		this.message = message;
		this.type = type;
	}
	
	/**
	 * 
	 */
	public BackPackageMain() {
		super();
		this.statue = 0;
		this.toName = "";
		this.message = "";
		this.type = 0;
	}

	public int getStatue() {
		return statue;
	}
	public void setStatue(int statue) {
		this.statue = statue;
	}
	public String getToName() {
		return toName;
	}
	public void setToName(String toName) {
		this.toName = toName;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	
	
}
